<template>
  <div id="app">
    <Header></Header>
    <!-- <TypeNav></TypeNav> -->
    <router-view></router-view>
    <Footer v-if="!$route.meta.ishendelfooter"></Footer>
    <Bottom v-if="$route.meta.ishendelfooter"></Bottom>
  </div>
</template>

<script>
import Header from './components/Header/Header.vue';
import Footer from './components/Footer/Footer.vue';
import Bottom from './components/Bottom'

export default {
  name: 'App',
  components: {
    Header,
    Footer,
    Bottom
  },
  mounted(){
    // console.log(this.$route.meta.ishendelfooter);
    // 获取导航栏数据数据，提高性能，放到组件里会经常调用
    this.$store.dispatch('home/reqtypenavdata')
  }
}
</script>

<style>
 

</style>
